var data;
// var book_list = [{id, book_name, index}];
var book = {
    id: 1,
    book_name: '',
    index: 1,
};
data = book
console.log(data);